[]
        
(Showing Draft Content)

C1.DataCollection.C1GroupDataCollection-1.InsertAsync

InsertAsync Method

InsertAsync(int, S, CancellationToken)

Inserts the specified item at the specified index in the collection.

Declaration
public override Task<int> InsertAsync(int index, S addedItem, CancellationToken cancellationToken)
Public Overrides Function InsertAsync(index As Integer, addedItem As S, cancellationToken As CancellationToken) As Task(Of Integer)
Parameters
Type Name Description
int index

The index where the item will be inserted.

S addedItem

The item to be inserted.

CancellationToken cancellationToken

The cancellation token.

Returns
Type Description
Task<int>
Overrides